package com.cloudbroker.bcs.platform.dav.middle.entity;

import com.cloudbroker.bcs.common.entity.StatusUpdatable;

/**
 * Created by wangxu13798 on 2016/8/4.
 */
public class LoginLog extends StatusUpdatable {
    private static final long serialVersionUID = 1L;

    protected String user_type;

    protected Long user_id;

    protected String mobile;

    protected String wx_open_id;

    protected String phone_login_flag;

    protected String operating_system;

    protected String browser;

    protected String remote_ip;

    protected String login_address;

    protected String login_time;

    public String getUser_type() {
        return user_type;
    }

    public void setUser_type(String user_type) {
        this.user_type = user_type;
    }

    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getWx_open_id() {
        return wx_open_id;
    }

    public void setWx_open_id(String wx_open_id) {
        this.wx_open_id = wx_open_id;
    }

    public String getPhone_login_flag() {
        return phone_login_flag;
    }

    public void setPhone_login_flag(String phone_login_flag) {
        this.phone_login_flag = phone_login_flag;
    }

    public String getOperating_system() {
        return operating_system;
    }

    public void setOperating_system(String operating_system) {
        this.operating_system = operating_system;
    }

    public String getBrowser() {
        return browser;
    }

    public void setBrowser(String browser) {
        this.browser = browser;
    }

    public String getRemote_ip() {
        return remote_ip;
    }

    public void setRemote_ip(String remote_ip) {
        this.remote_ip = remote_ip;
    }

    public String getLogin_address() {
        return login_address;
    }

    public void setLogin_address(String login_address) {
        this.login_address = login_address;
    }

    public String getLogin_time() {
        return login_time;
    }

    public void setLogin_time(String login_time) {
        this.login_time = login_time;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("LoginLog{");
        sb.append("user_type='").append(user_type).append('\'');
        sb.append(", user_id=").append(user_id);
        sb.append(", mobile='").append(mobile).append('\'');
        sb.append(", wx_open_id='").append(wx_open_id).append('\'');
        sb.append(", phone_login_flag='").append(phone_login_flag).append('\'');
        sb.append(", operating_system='").append(operating_system).append('\'');
        sb.append(", browser='").append(browser).append('\'');
        sb.append(", remote_ip='").append(remote_ip).append('\'');
        sb.append(", login_address='").append(login_address).append('\'');
        sb.append(", login_time='").append(login_time).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
